package cn.lyd.service.impl;

import cn.lyd.domain.Emp;
import cn.lyd.mapper.EmpMapper;
import cn.lyd.service.EmpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IEmpServiceImpl implements EmpService {

    @Autowired
    private EmpMapper empMapper;


    @Override
    public List<Emp> getAll() {
        return empMapper.getAll();
    }
}
